import {createStore,applyMiddleware } from "redux"
import store from "./reducer"
import thunk from 'redux-thunk'
export default createStore(store,applyMiddleware(thunk));

//redux-thunk //可以让dispatch进行异步传输 传入函数